//
//  CustomAnnotationView.h
//  Runone
//
//  Created by runone02 on 16/8/19.
//  Copyright © 2016年 runone. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>
#import "CustomCalloutView.h"
#import "AllLastestVehicleDynamic.h"
#import "DeviceBaseInfo.h"
#import "PileInfo.h"
#import "CurrentEvent.h"
#import "CarManagerModel.h"
@protocol getCarIDDelegate <NSObject>

-(void)getCarID:(NSString *)carID;

@end


@interface CustomAnnotationView : MAAnnotationView
@property(nonatomic,weak)id <getCarIDDelegate> delegate;
@property (nonatomic, readonly) CustomCallOutView *calloutView;

@property (nonatomic, strong)AllLastestVehicleDynamic *vehicleModel;

@property (nonatomic, strong)DeviceBaseInfo *deviceModel;

@property (nonatomic, strong)CurrentEvent *CEModel;

@property (nonatomic, strong)PileInfo *pileModel;

@property (nonatomic, strong)CarManagerModel *carManModel;
@end
